import "./style/base.css"
import { createApp } from 'vue'
import { createPinia } from 'pinia'
//导入echarts
import * as echarts from 'echarts'; 
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import piniaPluginPersist from 'pinia-plugin-persistedstate'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
const app = createApp(App)
const store = createPinia()
store.use(piniaPluginPersist)
app.config.globalProperties.$echarts = echarts
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(store)
app.use(router)

app.mount('#app')
